package com.yike.product.client;

import com.dtflys.forest.annotation.BaseRequest;
import com.dtflys.forest.annotation.Get;
import com.dtflys.forest.annotation.Query;
import com.yike.common.api.BarcodeApiResult;
import com.yike.product.interceptor.GoodsBarcodeInterceptor;
import com.yike.product.vo.GoodsBarcodeApiVo;

/**
 * @author admin
 */
@BaseRequest(baseURL = "${barcodeURL}", interceptor = GoodsBarcodeInterceptor.class)
public interface BarcodeApiClient {

    /**
     * 单卡状态信息查询
     */
    @Get(value = "/querybarcode")
    BarcodeApiResult<GoodsBarcodeApiVo> querybarcode(@Query("code") String code);

}
